//
//  TrackDeviceInfoModel.h
//  YuanXinTrack
//
//  Created by GJS on 2018/5/10.
//  Copyright © 2018年 GJS. All rights reserved.
//

#import "TrackModel.h"

@interface TrackDeviceInfoModel : TrackModel

/** 唯一标识 */
@property (nonatomic, readonly) NSString *uuid;

/** 设备当前的名字 */
@property (nonatomic, readonly) NSString *deviceName; // e.g. "My iPhone"
/** 设备当前的系统版本 */
@property (nonatomic, readonly) NSString *systemName; // e.g. @"iOS"
/** 设备装机时的系统版本（最低支持版本） */
@property (nonatomic, readonly) NSString *initialFirmware;
/** 设备可支持的最高系统版本 */
@property (nonatomic, readonly) NSString *latestFirmware;
/** 设备当前的系统版本 */
@property (nonatomic, readonly) NSString *systemVersion; // e.g. @"4.0"
/** 设备颜色 */
//@property (nonatomic, readonly) NSString *deviceColor;
/** 设备外壳颜色 */
//@property (nonatomic, readonly) NSString *deviceEnclosureColor;
/** mac地址 */
@property (nonatomic, readonly) NSString *MacAddress;
/** 广告标识符 */
@property (nonatomic, readonly) NSString *IDFA;
/** 对设备的一种唯一标识，优先采用广告标识符 */
@property (nonatomic, readonly) NSString *uniqueID;
/** 设备型号 */
@property (nonatomic, readonly) NSString *deviceModel;
/** 设备型号名称 */
@property (nonatomic, readonly) NSString *deviceModelName;
/** 设备上次重启的时间 */
@property (nonatomic, readonly) NSDate *systemUptime;
/** CPU数量 */
@property (nonatomic, readonly) NSUInteger CPUCount;
/** CPU数量 */
@property (nonatomic, readonly) NSString *deviceLanguage;
/** CPU数量 */
@property (nonatomic, readonly) NSTimeZone *timeZone;

// 设置日期格式
// [formatter setDateFormat:@"yyyy-mm-dd HH:mm:ss"];
- (NSString *)strFromDate:(NSDate *)date formatStr:(NSString *)formatStr;
// 要转换的日期字符串
// NSString *dateString = @"2011-05-03 23:11:40";
- (NSDate *)dateFromStr:(NSString *)dateString formatStr:(NSString *)formatStr;

@end
